package com.alks.function.data.dto.produce;

import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author MS
 * @since 2024/7/9下午6:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DispatchTempDto {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "补料单号")
    private String slipNo;

    @ApiModelProperty(value = "工艺")
    private String process;

    @ApiModelProperty(value = "工艺ID")
    private String processCode;

    @ApiModelProperty(value = "号码")
    private String sizeNo;

    @ApiModelProperty(value = "序号")
    private String seqNo;

    @ApiModelProperty(value = "号码数")
    private BigDecimal qty;

    @ApiModelProperty(value = "部位")
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String partName;
}
